<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>用户登录</title>
    <base href="${pageContext.request.scheme}://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}">
    <!-- Error CSS -->
    <link href="style/lib/css/login.css" rel="stylesheet" media="screen">
    <!-- Animate CSS -->
    <link href="style/lib/css/animate.css" rel="stylesheet" media="screen">
    <!-- Font Awesome -->
    <link href="style/lib/fonts/font-awesome.min.css" rel="stylesheet">
</head>
<body>
<form action="/user/login" id="wrapper">
    <div id="box" class="animated bounceIn">
        <div id="top_header">
            <a href="#">
                <img class="logo" src="style/lib/img/logo.png" alt="logo">
            </a>
            <h5>
                 用户登录
            </h5>
        </div>
        <di id="inputs">
            <div class="form-control">
                <input type="text" name="user_name"  value="admin" placeholder="请输入账号或电话号码" />
                <i class="fa fa-envelope-o"></i>
            </div>
            <div class="form-control">
                <input type="password" name="user_pwd" value="admin"  placeholder="请输入密码"/>
                <i class="fa fa-key"></i>
            </div>
            <input type="submit" value="Sign In">
        </di>
        <div id="bottom">
            <div class="squared-check">
                <input type="checkbox" value="None" id="remember" name="check" checked="">
                <label for="remember"></label>
                <div class="cb-label">Remember</div>
            </div>
            <a class="right_a" href="#">Forgot password?</a>
        </div>
        <c:if test="${not empty msg}">
            <div style="color: red" align="center">
                    ${msg}
            </div>
        </c:if>
    </div>
</form>
</body>
</html>